package jpa.entitys.promis.construction;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the GOODS_RETURN_NOTE_ITEMS database table.
 * 
 */
@Entity
@Table(name="GOODS_RETURN_NOTE_ITEMS")
public class GoodsReturnNoteItem extends jpa.entitys.common.CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@EmbeddedId
	private GoodsReturnNoteItemPK id;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}

	@Column(name="ACT_CODE", length=30)
	private String actCode;

	@Column(name="ACT_GRP_CODE", length=30)
	private String actGrpCode;

	@Column(name="ART_DESC", length=300)
	private String artDesc;

	@Column(name="BAL_RCVD_QTY", precision=22)
	private BigDecimal balRcvdQty;

	@Column(name="BEF_VAT_AMOUNT", precision=22)
	private BigDecimal befVatAmount;

	@Column(name="BOQ_ITEM", length=30)
	private String boqItem;

	@Column(name="BOQ_TYPE", length=30)
	private String boqType;

	@Column(name="BUDGET_CODE", length=30)
	private String budgetCode;

	@Column(name="BUDGET_REVISION", precision=22)
	private BigDecimal budgetRevision;

	@Column(name="COST_CODE", length=30)
	private String costCode;

	@Column(name="CREATED_BY")
	private String createdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="CREATED_ON")
	private Date createdOn;

	@Column(length=3)
	private String currency;

	@Column(name="DEPARTMENT_CODE", length=30)
	private String departmentCode;

	@Column(name="EXCHANGE_RATE", precision=12, scale=8)
	private BigDecimal exchangeRate;

	@Column(name="GOODS_RETURN_NOTE_ITEMS_ID", length=100)
	private String goodsReturnNoteItemsId;

	@Column(name="GOODS_RETURN_NOTES_ID", length=100)
	private String goodsReturnNotesId;

	@Column(name="GRN_NO", precision=6)
	private BigDecimal grnNo;

	@Column(name="GRN_SEQ_NO", precision=3)
	private BigDecimal grnSeqNo;

	@Column(name="GRN_SERIES", length=4)
	private String grnSeries;

	@Column(name="GRN_TYPE", length=2)
	private String grnType;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="GRT_DATE")
	private Date grtDate;

	@Column(name="ITEM_CODE", length=30)
	private String itemCode;

	@Column(name="ITEM_UM", length=6)
	private String itemUm;

	@Column(name="ITEM_UM_QTY", precision=12, scale=3)
	private BigDecimal itemUmQty;

	@Column(name="ITEM_UM_RATE", precision=18, scale=4)
	private BigDecimal itemUmRate;

	@Column(name="ITEM_VALUE_LOCAL", precision=16, scale=2)
	private BigDecimal itemValueLocal;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="LOT_NO", precision=22)
	private BigDecimal lotNo;

	@Column(name="LOT_SERIES", length=4)
	private String lotSeries;

	@Column(name="NET_AMOUNT", precision=22)
	private BigDecimal netAmount;

	@Column(name="NO_OF_PACKS", precision=12, scale=3)
	private BigDecimal noOfPacks;

	@Column(name="PO_NO", precision=6)
	private BigDecimal poNo;

	@Column(name="PO_REVISION_NO", precision=2)
	private BigDecimal poRevisionNo;

	@Column(name="PO_SEQ_NO", precision=3)
	private BigDecimal poSeqNo;

	@Column(name="PO_SERIES", length=4)
	private String poSeries;

	@Column(name="PO_TYPE", length=2)
	private String poType;

	@Column(name="POR_NO", precision=6)
	private BigDecimal porNo;

	@Column(name="POR_SEQ_NO", precision=3)
	private BigDecimal porSeqNo;

	@Column(name="POR_SERIES", length=4)
	private String porSeries;

	@Column(name="POR_TYPE", length=2)
	private String porType;

	@Column(length=300)
	private String remarks;

	@Column(precision=38)
	private BigDecimal revision;

	@Column(length=1)
	private String status;

	@Column(name="STOCK_TYPE", length=3)
	private String stockType;

	@Column(name="STORE_ID", length=3)
	private String storeId;

	@Column(name="SUB_PROJECT", length=15)
	private String subProject;

	@Column(name="SUPPLIER_CODE", length=30)
	private String supplierCode;

	@Column(name="SYNC_CREATEDBY", length=100)
	private String syncCreatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_CREATEDON")
	private Date syncCreatedon;

	@Column(name="SYNC_EXTERNAL_REF_KEY", length=100)
	private String syncExternalRefKey;

	@Column(name="SYNC_EXTERNAL_REF_NO", length=100)
	private String syncExternalRefNo;

	@Column(name="SYNC_ISSYNC", length=1)
	private String syncIssync;

	@Column(name="SYNC_UPDATEDBY", length=100)
	private String syncUpdatedby;

    @Temporal( TemporalType.TIMESTAMP)
	@Column(name="SYNC_UPDATEDON")
	private Date syncUpdatedon;

	@Column(name="TAX_RATE", precision=22)
	private BigDecimal taxRate;

	@Column(name="TAX_TYPE", length=30)
	private String taxType;

	@Column(name="VALUE_FC", precision=16, scale=2)
	private BigDecimal valueFc;

	@Column(name="VALUE_LC", precision=16, scale=2)
	private BigDecimal valueLc;

	@Column(precision=22)
	private BigDecimal vat;

	@Column(name="VAT_AMOUNT_FC", precision=22)
	private BigDecimal vatAmountFc;

	@Column(name="VAT_BASE_AMOUNT", precision=22)
	private BigDecimal vatBaseAmount;

    public GoodsReturnNoteItem() {
    }

	public GoodsReturnNoteItemPK getId() {
		return this.id;
	}

	public void setId(GoodsReturnNoteItemPK id) {
		this.id = id;
	}
	
	public String getActCode() {
		return this.actCode;
	}

	public void setActCode(String actCode) {
		this.actCode = actCode;
	}

	public String getActGrpCode() {
		return this.actGrpCode;
	}

	public void setActGrpCode(String actGrpCode) {
		this.actGrpCode = actGrpCode;
	}

	public String getArtDesc() {
		return this.artDesc;
	}

	public void setArtDesc(String artDesc) {
		this.artDesc = artDesc;
	}

	public BigDecimal getBalRcvdQty() {
		return this.balRcvdQty;
	}

	public void setBalRcvdQty(BigDecimal balRcvdQty) {
		this.balRcvdQty = balRcvdQty;
	}

	public BigDecimal getBefVatAmount() {
		return this.befVatAmount;
	}

	public void setBefVatAmount(BigDecimal befVatAmount) {
		this.befVatAmount = befVatAmount;
	}

	public String getBoqItem() {
		return this.boqItem;
	}

	public void setBoqItem(String boqItem) {
		this.boqItem = boqItem;
	}

	public String getBoqType() {
		return this.boqType;
	}

	public void setBoqType(String boqType) {
		this.boqType = boqType;
	}

	public String getBudgetCode() {
		return this.budgetCode;
	}

	public void setBudgetCode(String budgetCode) {
		this.budgetCode = budgetCode;
	}

	public BigDecimal getBudgetRevision() {
		return this.budgetRevision;
	}

	public void setBudgetRevision(BigDecimal budgetRevision) {
		this.budgetRevision = budgetRevision;
	}

	public String getCostCode() {
		return this.costCode;
	}

	public void setCostCode(String costCode) {
		this.costCode = costCode;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getDepartmentCode() {
		return this.departmentCode;
	}

	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}

	public BigDecimal getExchangeRate() {
		return this.exchangeRate;
	}

	public void setExchangeRate(BigDecimal exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public String getGoodsReturnNoteItemsId() {
		return this.goodsReturnNoteItemsId;
	}

	public void setGoodsReturnNoteItemsId(String goodsReturnNoteItemsId) {
		this.goodsReturnNoteItemsId = goodsReturnNoteItemsId;
	}

	public String getGoodsReturnNotesId() {
		return this.goodsReturnNotesId;
	}

	public void setGoodsReturnNotesId(String goodsReturnNotesId) {
		this.goodsReturnNotesId = goodsReturnNotesId;
	}

	public BigDecimal getGrnNo() {
		return this.grnNo;
	}

	public void setGrnNo(BigDecimal grnNo) {
		this.grnNo = grnNo;
	}

	public BigDecimal getGrnSeqNo() {
		return this.grnSeqNo;
	}

	public void setGrnSeqNo(BigDecimal grnSeqNo) {
		this.grnSeqNo = grnSeqNo;
	}

	public String getGrnSeries() {
		return this.grnSeries;
	}

	public void setGrnSeries(String grnSeries) {
		this.grnSeries = grnSeries;
	}

	public String getGrnType() {
		return this.grnType;
	}

	public void setGrnType(String grnType) {
		this.grnType = grnType;
	}

	public Date getGrtDate() {
		return this.grtDate;
	}

	public void setGrtDate(Date grtDate) {
		this.grtDate = grtDate;
	}

	public String getItemCode() {
		return this.itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}

	public String getItemUm() {
		return this.itemUm;
	}

	public void setItemUm(String itemUm) {
		this.itemUm = itemUm;
	}

	public BigDecimal getItemUmQty() {
		return this.itemUmQty;
	}

	public void setItemUmQty(BigDecimal itemUmQty) {
		this.itemUmQty = itemUmQty;
	}

	public BigDecimal getItemUmRate() {
		return this.itemUmRate;
	}

	public void setItemUmRate(BigDecimal itemUmRate) {
		this.itemUmRate = itemUmRate;
	}

	public BigDecimal getItemValueLocal() {
		return this.itemValueLocal;
	}

	public void setItemValueLocal(BigDecimal itemValueLocal) {
		this.itemValueLocal = itemValueLocal;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public BigDecimal getLotNo() {
		return this.lotNo;
	}

	public void setLotNo(BigDecimal lotNo) {
		this.lotNo = lotNo;
	}

	public String getLotSeries() {
		return this.lotSeries;
	}

	public void setLotSeries(String lotSeries) {
		this.lotSeries = lotSeries;
	}

	public BigDecimal getNetAmount() {
		return this.netAmount;
	}

	public void setNetAmount(BigDecimal netAmount) {
		this.netAmount = netAmount;
	}

	public BigDecimal getNoOfPacks() {
		return this.noOfPacks;
	}

	public void setNoOfPacks(BigDecimal noOfPacks) {
		this.noOfPacks = noOfPacks;
	}

	public BigDecimal getPoNo() {
		return this.poNo;
	}

	public void setPoNo(BigDecimal poNo) {
		this.poNo = poNo;
	}

	public BigDecimal getPoRevisionNo() {
		return this.poRevisionNo;
	}

	public void setPoRevisionNo(BigDecimal poRevisionNo) {
		this.poRevisionNo = poRevisionNo;
	}

	public BigDecimal getPoSeqNo() {
		return this.poSeqNo;
	}

	public void setPoSeqNo(BigDecimal poSeqNo) {
		this.poSeqNo = poSeqNo;
	}

	public String getPoSeries() {
		return this.poSeries;
	}

	public void setPoSeries(String poSeries) {
		this.poSeries = poSeries;
	}

	public String getPoType() {
		return this.poType;
	}

	public void setPoType(String poType) {
		this.poType = poType;
	}

	public BigDecimal getPorNo() {
		return this.porNo;
	}

	public void setPorNo(BigDecimal porNo) {
		this.porNo = porNo;
	}

	public BigDecimal getPorSeqNo() {
		return this.porSeqNo;
	}

	public void setPorSeqNo(BigDecimal porSeqNo) {
		this.porSeqNo = porSeqNo;
	}

	public String getPorSeries() {
		return this.porSeries;
	}

	public void setPorSeries(String porSeries) {
		this.porSeries = porSeries;
	}

	public String getPorType() {
		return this.porType;
	}

	public void setPorType(String porType) {
		this.porType = porType;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public BigDecimal getRevision() {
		return this.revision;
	}

	public void setRevision(BigDecimal revision) {
		this.revision = revision;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStockType() {
		return this.stockType;
	}

	public void setStockType(String stockType) {
		this.stockType = stockType;
	}

	public String getStoreId() {
		return this.storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getSubProject() {
		return this.subProject;
	}

	public void setSubProject(String subProject) {
		this.subProject = subProject;
	}

	public String getSupplierCode() {
		return this.supplierCode;
	}

	public void setSupplierCode(String supplierCode) {
		this.supplierCode = supplierCode;
	}

	public String getSyncCreatedby() {
		return this.syncCreatedby;
	}

	public void setSyncCreatedby(String syncCreatedby) {
		this.syncCreatedby = syncCreatedby;
	}

	public Date getSyncCreatedon() {
		return this.syncCreatedon;
	}

	public void setSyncCreatedon(Date syncCreatedon) {
		this.syncCreatedon = syncCreatedon;
	}

	public String getSyncExternalRefKey() {
		return this.syncExternalRefKey;
	}

	public void setSyncExternalRefKey(String syncExternalRefKey) {
		this.syncExternalRefKey = syncExternalRefKey;
	}

	public String getSyncExternalRefNo() {
		return this.syncExternalRefNo;
	}

	public void setSyncExternalRefNo(String syncExternalRefNo) {
		this.syncExternalRefNo = syncExternalRefNo;
	}

	public String getSyncIssync() {
		return this.syncIssync;
	}

	public void setSyncIssync(String syncIssync) {
		this.syncIssync = syncIssync;
	}

	public String getSyncUpdatedby() {
		return this.syncUpdatedby;
	}

	public void setSyncUpdatedby(String syncUpdatedby) {
		this.syncUpdatedby = syncUpdatedby;
	}

	public Date getSyncUpdatedon() {
		return this.syncUpdatedon;
	}

	public void setSyncUpdatedon(Date syncUpdatedon) {
		this.syncUpdatedon = syncUpdatedon;
	}

	public BigDecimal getTaxRate() {
		return this.taxRate;
	}

	public void setTaxRate(BigDecimal taxRate) {
		this.taxRate = taxRate;
	}

	public String getTaxType() {
		return this.taxType;
	}

	public void setTaxType(String taxType) {
		this.taxType = taxType;
	}

	public BigDecimal getValueFc() {
		return this.valueFc;
	}

	public void setValueFc(BigDecimal valueFc) {
		this.valueFc = valueFc;
	}

	public BigDecimal getValueLc() {
		return this.valueLc;
	}

	public void setValueLc(BigDecimal valueLc) {
		this.valueLc = valueLc;
	}

	public BigDecimal getVat() {
		return this.vat;
	}

	public void setVat(BigDecimal vat) {
		this.vat = vat;
	}

	public BigDecimal getVatAmountFc() {
		return this.vatAmountFc;
	}

	public void setVatAmountFc(BigDecimal vatAmountFc) {
		this.vatAmountFc = vatAmountFc;
	}

	public BigDecimal getVatBaseAmount() {
		return this.vatBaseAmount;
	}

	public void setVatBaseAmount(BigDecimal vatBaseAmount) {
		this.vatBaseAmount = vatBaseAmount;
	}

}